package com.cro.prison.service;


import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cro.prison.entity.pojo.User;
import org.springframework.stereotype.Repository;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
@Repository
public interface UserService{
    //登陸
    public User login(String username, String password);

    User selectById(Long userId);

    List<User> listAll();

}
